find qual values in a dictionary c#

87

find qual values in a dictionary c# -

private static void DisplayDictionary(string title, Dictionary<int, string> test)
{
    Console.WriteLine(title);
    foreach (var it in test)
    {
        Console.WriteLine($"Key: {it.Key}, Value: {it.Value}");
    }
}

Comments

Submit
0 Comments